Platform Explorer / Nuxeo Platform 2021.24

Contribution org.nuxeo.ecm.platform.picture.jsf.layouts--widgets

This contribution is part of XML component org.nuxeo.ecm.platform.picture.jsf.layouts inside nuxeo-platform-imaging-jsf-2021.24.3.jar /OSGI-INF/imaging-layouts-contrib.xml

Extension Point

Extension point widgets of component WebLayoutManager.

Registration Order

20
The registration order represents the order in which this contribution was registered on its target extention point. This will impact the override/merge behaviour when it is implemented on the target service, and is useful for proper customization of existing contributions.
You can influence this order by adding "require" tags in the containing component declaration, to make sure it is resolved after another component (see "Resolution Order" on components).

Contributed Items

  • <widget name="imageFile" type="image">
          <labels>
            <label mode="any">label.file.content</label>
          </labels>
          <translated>true</translated>
          <fields>
            <field>file:content</field>
            <field>file:content/filename</field>
          </fields>
        </widget>
  • <widget name="summary_picture_view" type="picture_view"/>
  • <widget name="infoViewPictureView" type="container">
          <handlingLabels>false</handlingLabels>
          <properties widgetMode="any">
            <property name="hideSubLabels">true</property>
            <property name="styleClass">infoViewDocContainer</property>
            <property name="display">block_top</property>
          </properties>
          <subWidgets>
            <widget name="pictureView" type="picture_view"/>
          </subWidgets>
        </widget>
  • <widget name="summary_picture_info_box" type="info_box"/>
  • <widget name="picture_info_dimensions" type="dimensions">
          <labels>
            <label mode="any">label.widget.picture.dimensions</label>
          </labels>
          <translated>true</translated>
          <fields>
            <field>picture:info/width</field>
            <field>picture:info/height</field>
          </fields>
          <widgetModes>
            <mode value="any">view</mode>
          </widgetModes>
        </widget>
  • <widget name="picture_info_format" type="text">
          <labels>
            <label mode="any">label.widget.picture.format</label>
          </labels>
          <translated>true</translated>
          <fields>
            <field>picture:info/format</field>
          </fields>
          <widgetModes>
            <mode value="any">view</mode>
          </widgetModes>
        </widget>
  • <widget name="picture_info_colorspace" type="text">
          <labels>
            <label mode="any">label.widget.picture.colorSpace</label>
          </labels>
          <translated>true</translated>
          <fields>
            <field>picture:info/colorSpace</field>
          </fields>
          <widgetModes>
            <mode value="any">view</mode>
          </widgetModes>
        </widget>
  • <widget name="picture_info_depth" type="text">
          <labels>
            <label mode="any">label.widget.picture.depth</label>
          </labels>
          <translated>true</translated>
          <fields>
            <field>picture:info/depth</field>
          </fields>
          <widgetModes>
            <mode value="any">view</mode>
          </widgetModes>
        </widget>
  • <widget name="summary_picture_info" type="container">
          <labels>
            <label mode="any">label.header.picture.info</label>
          </labels>
          <translated>true</translated>
          <properties widgetMode="any">
            <property name="hideSubLabels">true</property>
            <property name="display">block_top</property>
          </properties>
          <controls mode="any">
            <control name="handleLabels">true</control>
          </controls>
          <subWidgets>
            <widget name="picture_info" type="layout">
              <properties widgetMode="any">
                <property name="name">picture_info</property>
              </properties>
            </widget>
          </subWidgets>
        </widget>
  • <widget name="summary_picture_exif" type="container">
          <labels>
            <label mode="any">label.header.info.exif</label>
          </labels>
          <translated>true</translated>
          <properties widgetMode="any">
            <property name="hideSubLabels">true</property>
            <property name="display">block_top</property>
          </properties>
          <controls mode="any">
            <control name="handleLabels">true</control>
          </controls>
          <subWidgets>
            <widget name="exif_info" type="layout">
              <properties widgetMode="any">
                <property name="name">exif_info</property>
              </properties>
            </widget>
          </subWidgets>
        </widget>
  • <widget name="summary_picture_iptc" type="container">
          <labels>
            <label mode="any">label.header.info.iptc</label>
          </labels>
          <translated>true</translated>
          <properties widgetMode="any">
            <property name="hideSubLabels">true</property>
            <property name="display">block_top</property>
          </properties>
          <controls mode="any">
            <control name="handleLabels">true</control>
          </controls>
          <subWidgets>
            <widget name="iptc_info" type="layout">
              <properties widgetMode="any">
                <property name="name">iptc_info</property>
              </properties>
            </widget>
          </subWidgets>
        </widget>
  • <widget name="summary_picture_additional_formats" type="picture_additional_formats">
          <labels>
            <label mode="any">label.header.picture.additional.formats</label>
          </labels>
          <controls mode="any">
            <control name="requireSurroundingForm">true</control>
            <control name="handleLabels">true</control>
          </controls>
          <widgetModes>
            <mode value="any">#{not empty currentDocumentAsBlobHolder.blob ? 'view' : 'hidden'}</mode>
          </widgetModes>
        </widget>
  • <widget name="summary_picture_actions" type="documentActionsWithForms">
          <properties widgetMode="view">
            <property name="category">IMAGE_PROCESSING</property>
            <property name="styleClass">grayBox pictureActions</property>
            <property name="actionStyleClass">button</property>
            <property name="overallDisplay">horizontal_block</property>
            <property name="useAjaxForm">true</property>
            <property name="ignoreTemplateProperty">true</property>
          </properties>
          <widgetModes>
            <mode value="any">#{not empty currentDocumentAsBlobHolder.blob ? 'view' : 'hidden'}</mode>
          </widgetModes>
        </widget>

XML Source

<extension point="widgets" target="org.nuxeo.ecm.platform.forms.layout.WebLayoutManager">

    <widget name="imageFile" type="image">
      <labels>
        <label mode="any">label.file.content</label>
      </labels>
      <translated>true</translated>
      <fields>
        <field>file:content</field>
        <field>file:content/filename</field>
      </fields>
    </widget>

    <widget name="summary_picture_view" type="picture_view"/>

    <widget name="infoViewPictureView" type="container">
      <handlingLabels>false</handlingLabels>
      <properties widgetMode="any">
        <property name="hideSubLabels">true</property>
        <property name="styleClass">infoViewDocContainer</property>
        <property name="display">block_top</property>
      </properties>
      <subWidgets>
        <widget name="pictureView" type="picture_view"/>
      </subWidgets>
    </widget>

    <widget name="summary_picture_info_box" type="info_box"/>

    <widget name="picture_info_dimensions" type="dimensions">
      <labels>
        <label mode="any">label.widget.picture.dimensions</label>
      </labels>
      <translated>true</translated>
      <fields>
        <field>picture:info/width</field>
        <field>picture:info/height</field>
      </fields>
      <widgetModes>
        <mode value="any">view</mode>
      </widgetModes>
    </widget>

    <widget name="picture_info_format" type="text">
      <labels>
        <label mode="any">label.widget.picture.format</label>
      </labels>
      <translated>true</translated>
      <fields>
        <field>picture:info/format</field>
      </fields>
      <widgetModes>
        <mode value="any">view</mode>
      </widgetModes>
    </widget>

    <widget name="picture_info_colorspace" type="text">
      <labels>
        <label mode="any">label.widget.picture.colorSpace</label>
      </labels>
      <translated>true</translated>
      <fields>
        <field>picture:info/colorSpace</field>
      </fields>
      <widgetModes>
        <mode value="any">view</mode>
      </widgetModes>
    </widget>

    <widget name="picture_info_depth" type="text">
      <labels>
        <label mode="any">label.widget.picture.depth</label>
      </labels>
      <translated>true</translated>
      <fields>
        <field>picture:info/depth</field>
      </fields>
      <widgetModes>
        <mode value="any">view</mode>
      </widgetModes>
    </widget>

    <widget name="summary_picture_info" type="container">
      <labels>
        <label mode="any">label.header.picture.info</label>
      </labels>
      <translated>true</translated>
      <properties widgetMode="any">
        <property name="hideSubLabels">true</property>
        <property name="display">block_top</property>
      </properties>
      <controls mode="any">
        <control name="handleLabels">true</control>
      </controls>
      <subWidgets>
        <widget name="picture_info" type="layout">
          <properties widgetMode="any">
            <property name="name">picture_info</property>
          </properties>
        </widget>
      </subWidgets>
    </widget>

    <widget name="summary_picture_exif" type="container">
      <labels>
        <label mode="any">label.header.info.exif</label>
      </labels>
      <translated>true</translated>
      <properties widgetMode="any">
        <property name="hideSubLabels">true</property>
        <property name="display">block_top</property>
      </properties>
      <controls mode="any">
        <control name="handleLabels">true</control>
      </controls>
      <subWidgets>
        <widget name="exif_info" type="layout">
          <properties widgetMode="any">
            <property name="name">exif_info</property>
          </properties>
        </widget>
      </subWidgets>
    </widget>

    <widget name="summary_picture_iptc" type="container">
      <labels>
        <label mode="any">label.header.info.iptc</label>
      </labels>
      <translated>true</translated>
      <properties widgetMode="any">
        <property name="hideSubLabels">true</property>
        <property name="display">block_top</property>
      </properties>
      <controls mode="any">
        <control name="handleLabels">true</control>
      </controls>
      <subWidgets>
        <widget name="iptc_info" type="layout">
          <properties widgetMode="any">
            <property name="name">iptc_info</property>
          </properties>
        </widget>
      </subWidgets>
    </widget>

    <widget name="summary_picture_additional_formats" type="picture_additional_formats">
      <labels>
        <label mode="any">label.header.picture.additional.formats</label>
      </labels>
      <controls mode="any">
        <control name="requireSurroundingForm">true</control>
        <control name="handleLabels">true</control>
      </controls>
      <widgetModes>
        <mode value="any">#{not empty currentDocumentAsBlobHolder.blob ? 'view' : 'hidden'}</mode>
      </widgetModes>
    </widget>

    <widget name="summary_picture_actions" type="documentActionsWithForms">
      <properties widgetMode="view">
        <property name="category">IMAGE_PROCESSING</property>
        <property name="styleClass">grayBox pictureActions</property>
        <property name="actionStyleClass">button</property>
        <property name="overallDisplay">horizontal_block</property>
        <property name="useAjaxForm">true</property>
        <property name="ignoreTemplateProperty">true</property>
      </properties>
      <widgetModes>
        <mode value="any">#{not empty currentDocumentAsBlobHolder.blob ? 'view' : 'hidden'}</mode>
      </widgetModes>
    </widget>

  </extension>